Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sdk): add collections for nanotdf #1695

Merged
merged 19 commits into from
Nov 14, 2024
Merged

feat(sdk): add collections for nanotdf #1695

merged 19 commits into from
Nov 14, 2024

Conversation

imdominicreed
Copy link
Contributor

@imdominicreed imdominicreed commented Oct 30, 2024

Adds in Datasets for NanoTDF. If dataset store is enabled in SDK, nanoTDF headers will be saved with their unwrapped key, so future nanoTDFs can be decrypted without extra rewrap calls. NanoTDFs will be able to be written in a dataset in the NanoTDFConfig, allowing for flexible usage of datasets.

Example Local Run

To run a quick example collection locally. This will write two collections with 50 nTDFs with the plaintext being changed to <i>: <plaintext>. Decrypt will decrypt the two collections and will only do two unwrap calls rather than 100 for each nTDF.

mkdir collection
go run ./examples encrypt "Collection A" --nano -c 50 -o collection/collection_a.ntdf
go run ./examples encrypt "Collection B" --nano -c 50 -o collection/collection_b.ntdf
go run ./examples decrypt collection

Summary:

Test Plan:
Summary:

Test Plan:
Summary:

Test Plan:
Summary:

Test Plan:
Summary:

Test Plan:
@imdominicreed imdominicreed marked this pull request as ready for review October 31, 2024 22:47
@imdominicreed imdominicreed requested a review from a team as a code owner October 31, 2024 22:47
Sample functions to test
```
mkdir collection
go run ./examples encrypt "Collection A" --nano -c 50 -o collection/collection_a.ntdf
go run ./examples encrypt "Collection B" --nano -c 50 -o collection/collection_b.ntdf
go run ./examples decrypt collection
```
@imdominicreed imdominicreed requested review from a team as code owners November 5, 2024 20:55
@imdominicreed imdominicreed changed the title feat(sdk): add datasets for nanotdf feat(sdk): add collections for nanotdf Nov 5, 2024
strantalis
strantalis previously approved these changes Nov 13, 2024
@imdominicreed imdominicreed added this pull request to the merge queue Nov 14, 2024
Merged via the queue into main with commit 6497bf3 Nov 14, 2024
21 checks passed
@imdominicreed imdominicreed deleted the feat/dataset branch November 14, 2024 17:48
github-merge-queue bot pushed a commit that referenced this pull request Nov 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.2.22](protocol/go/v0.2.21...protocol/go/v0.2.22)
(2024-11-14)


### Features

* **sdk:** add collections for nanotdf
([#1695](#1695))
([6497bf3](6497bf3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit that referenced this pull request Nov 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.2.9](lib/fixtures/v0.2.8...lib/fixtures/v0.2.9)
(2024-11-14)


### Features

* **sdk:** add collections for nanotdf
([#1695](#1695))
([6497bf3](6497bf3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit that referenced this pull request Nov 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.1.2](lib/flattening/v0.1.1...lib/flattening/v0.1.2)
(2024-11-15)


### Features

* **sdk:** add collections for nanotdf
([#1695](#1695))
([6497bf3](6497bf3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit that referenced this pull request Nov 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.1.7](lib/ocrypto/v0.1.6...lib/ocrypto/v0.1.7)
(2024-11-15)


### Features

* **sdk:** add collections for nanotdf
([#1695](#1695))
([6497bf3](6497bf3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
Co-authored-by: Sean Trantalis <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Nov 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.3.21](sdk/v0.3.20...sdk/v0.3.21)
(2024-11-15)


### Features

* **sdk:** add collections for nanotdf
([#1695](#1695))
([6497bf3](6497bf3))


### Bug Fixes

* **core:** Autobump sdk
([#1766](#1766))
([9ff9f61](9ff9f61))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
github-merge-queue bot pushed a commit that referenced this pull request Nov 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.4.28](service/v0.4.27...service/v0.4.28)
(2024-11-15)


### Features

* **sdk:** add collections for nanotdf
([#1695](#1695))
([6497bf3](6497bf3))


### Bug Fixes

* **core:** Autobump service
([#1767](#1767))
([949087e](949087e))
* **core:** Autobump service
([#1771](#1771))
([7a2e709](7a2e709))
* **core:** Updates dpop check for connect
([#1760](#1760))
([6d7f24a](6d7f24a))
* grpc-gateway connection with tls enabled
([#1758](#1758))
([3120350](3120350))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants